#ifndef TOBJECTLIST_H_H
#define TOBJECTLIST_H_H

#include <vector>
using namespace std;

//#include "TObject.h"

class TObject;

class TObjectList
{
public:
    TObjectList();
    TObjectList(TObject * obj);
    TObjectList(TObjectList * obj );

    ~TObjectList();

    void push_back(TObject * obj);
    void push_back(TObjectList * obj);

    TObject * at(int index);
    TObject * getObject(int index);
    TObjectList * getObjectList(int index);

private:
    vector <TObject*> m_list;
};
#endif
